﻿CREATE TABLE [sp_ssiscatalog].[usage_stats]
(
	[usage_stats_id]								INT				NOT NULL
,	[user_name]										NVARCHAR(256)	NOT NULL
,	[date_time]										SMALLDATETIME	NOT NULL
,	[action]										NVARCHAR(MAX)	NOT NULL
,	[exec_id]										BIGINT			NULL
,	[exec_execution]								BIT				NULL
,	[exec_events]									BIT				NULL
,	[exec_errors]									BIT				NULL
,	[exec_warnings]									BIT				NULL
,	[exec_executable_stats]							BIT				NULL
,	[exec_events_packages_excluded_isspecified]		BIT				NULL
,	[execs_folder_name_isspecified]					BIT				NULL
,	[execs_project_name_isspecified]				BIT				NULL
,	[execs_package_name_isspecified]				BIT				NULL
,	[execs_executed_as_name_isspecified]			BIT				NULL
,	[execs_status_desc_isspecified]					BIT				NULL
,	[execs_maximum_execution_id_isspecified]		BIT				NULL
,	[execs_minimum_execution_id_isspecified]		BIT				NULL
,	[configure_collect_usage_stats]					BIT				NULL
,	[show_docs]										BIT				NULL
,	[show_docs_only]								BIT				NULL
,	CONSTRAINT [usage_stats_dbo_PK] PRIMARY KEY ([usage_stats_id] DESC)
)
